package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.QuestionOptionMapper;
import com.rongke.model.QuestionOption;
import com.rongke.service.QuestionOptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @QuestionOptionServiceImpl
 * @问题选项ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class QuestionOptionServiceImpl extends ServiceImpl<QuestionOptionMapper, QuestionOption> implements QuestionOptionService {

    @Autowired
    private QuestionOptionMapper questionOptionMapper;

    /**
     * @根据条件查找问题选项
     * @param questionOption
     * @return
     */
    @Override
    public List<QuestionOption> selectByCondition(QuestionOption questionOption) {
        return questionOptionMapper.selectByCondition(questionOption);
    }
}
